
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="__PUBLIC__/css/common.css">
<link rel="stylesheet" href="__PUBLIC__/css/main.css">
<script type="text/javascript" src="__PUBLIC__/js/jquery.min.js"></script>
<script type="text/javascript"
	src="__PUBLIC__/js/colResizable-1.3.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/common.js"></script>

<script type="text/javascript">
      $(function(){  
        $(".list_table").colResizable({
          liveDrag:true,
          gripInnerHtml:"<div class='grip'></div>", 
          draggingClass:"dragging", 
          minWidth:30
        }); 
        
      }); 
   </script>
<title>首页图片列表</title>
</head>
<body>
<!--
 登陆成功{{$_SESSION['user']['username']}}
 -->
<div id="table" class="mt10">
<div class="box span10 oh">
<table width="100%" border="0" cellpadding="0" cellspacing="0"
	class="list_table">
	<tr class="tr">
		<th>序号</th>
		<th>标题</th>
		<th>创建时间</th>
		<th width="150px">操作</th>
	</tr>
	<foreach name="list" item="vo">
	<tr class="tr">
		<td class="td_center">{{$key+1}}</td>
		<td class="td_center">{{$vo.title}}</td>
		<td class="td_center">{{$vo.create_time}}</td>
		<td class="td_center"><a
			href="{{:U('Home/homeLook')}}?id={{$vo.id}}" target="right">查看</a> <a
			href="{{:U('Home/homeEditView')}}?id={{$vo.id}}&p={{$p}}">修改</a> <a
			href="{{:U('Home/homeDel')}}?id={{$vo.id}}&p={{$p}}"
			onclick="return del();">删除</a> <if condition="($vo.home eq '0')">
		<a href="{{:U('Home/homeHome')}}?id={{$vo.id}}">显示</a> </if></td>
	</tr>
	</foreach>
</table>
<div class="page mt10" align='right'>
<div class="pagination">{{$page}}&nbsp;&nbsp;&nbsp;&nbsp;</div>

</div>
</div>
</div>
<script type="text/javascript">
        function del()
        {
            if (confirm("确定要删除吗？" ))
            {
                return true ;
            }
            else
            {
                return false ;
            }
        }
	 </script>
</body>
